﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addExcel.aspx.cs" Inherits="PropertyManagement.excel.addExcel" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
       body
       {
           width:750px;
           margin:0 auto;
       }
       #div0
       {
           width:90%;
           height:300px;
           margin:20px auto;        
           background-color:#a9c8f3;
       }
       #h3_1
       {
           text-align:center;
           width:90%;         
           font-size:20px;
           font-style:normal;
           float:left;
           padding:0;
           margin:10px auto;
       }
         
         #div1,#div2,#div3
         {
              width:100%;
              height:100px;
              float:left;
              margin:0;
              padding:0;
         }
         #div2,#div3
         {
             height:40px;
         }

         #CheckBoxList1
         {
             width:600px;
             float:left;          
             border:solid 1px #4cff00; 
             font-size:14px;
             margin:5px auto;
         }

        
         #Label1,#TextBox1
         {
              width:120px;
              float:left;
              margin-top:10px;
              margin-left:20px;
              padding:0;
         }
         #TextBox1
         {
             width:500px;
         }

        #Button1,#Button2,#Button3
        {
             width:100px;
             height:24px;         
             margin-left:20px;
             margin-top:10px;
        }
        #Button1
        {
            margin-left:60px;
        } 
     
        .auto-style1 {
            width: 80%;
            height: 257px;
        }
     
        </style>
</head>
<body>
    <form id="form1" runat="server">
        <div id="div0" class="auto-style1">          
           <div id="div1">
               <h3 id="h3_1">使用 Excel 向数据表中添加数据</h3>
               <asp:CheckBoxList ID="CheckBoxList1" runat="server" Height="30px" Width="561px"  ></asp:CheckBoxList>              
           </div>
          
             <div id="div2">
                   <asp:Label ID="Label1" runat="server" Text="Label">Excel文件名</asp:Label>
                   <asp:TextBox ID="TextBox1" runat="server"  Text="D:\添加数据表.xlsx" Height="16px" Width="404px"  ></asp:TextBox>
            </div>
           
            <div id="div3">
                  <asp:Button ID="Button1" runat="server" Text="命令添加" OnClick="Button1_Click"/>         
            &nbsp;<asp:Button ID="Button2" runat="server" Text="删除数据表" OnClick="Button2_Click" />
            &nbsp;<asp:Button ID="Button3" runat="server" Text="返回"/> 
            &nbsp;<asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
            </div>
        </div>
    </form>
</body>
</html>
